* {
    padding:0;
    margin: 0;
}
@media screen and (max-width:750px) {
    section .aa {
        display: none ;
    }
    .a:hover {
        transform: scale(1.1);
        opacity:1;
    }
}
@media screen and (min-width:751px) {
    .a:hover {
        transform: scale(1.1);
       animation:jza 2s forwards;
        opacity:1;
        z-index: 2;
    }
    .aa:hover {
        transform: scale(1.1);
        opacity:1;
        z-index:2;
        animation:jzb 2s forwards;
    } 
}
body {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    background-image: linear-gradient(to left, #fd79a8, #a29bfe);
    cursor: pointer;
}
.f a , .cc a{
    text-decoration: none;    
}
section {
    display: flex;
    justify-content: center;
    align-items: center;
}
.a {
    background-color: #fff;
    width: 350px;
    height: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    top: 50px;
    flex-direction:column;
    flex-wrap: wrap;
    border-radius: 20px;
    box-shadow: 2px 2px  14px 1px;
    opacity: 0.7;

   
}
.b {
    width: 300px;
    height: 370px;
    overflow: hidden;
}
.c {
    font: 900 40px "" ;
    margin: 60px 0; 
    text-align: center;
    letter-spacing: 5px;
}
.e {
    width: 100%;
    margin-bottom: 20px;
    outline: none;
    border: 0;
    padding: 10px;
    border-bottom: 2px solid rgb(60, 60, 70);
    font: 900 16px "";
}
.f {
    text-align: center;
    height: 24px;
    padding: 12px;
    font: 900 20px "";
    border-radius: 10px;
    background-image: linear-gradient(to left, #fd79a8, #a29bfe);
}
.g {
    margin:5px 40px;
}
.r {
    margin: 20px 40px;
    width:60%;
    border-top: 1px solid rgb(204, 195, 195);
    text-align: center;
    letter-spacing:10px;
   
}
.aa {
    background-color: #fff;
    width: 350px;
    height: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    top:50px;
    flex-wrap: wrap;
    margin-left: 10px;
    border-radius: 20px;
    opacity: 0.9;
    box-shadow: 2px 2px  14px 1px;
    opacity: 0.7;
}
.bb {
    margin: 20px 40px;
    width: 100%;
    height:350px;   
    position: relative;
    overflow: hidden;
    border-radius:20px;
    border: 2px solid rgb(247, 88, 220);
    background-image: url(../lm1.jpg);
    background-size: 240%;
    background-position: center center;
  
}
.cc {
    width: 70px;
    height:70px; 
    background-image: linear-gradient(to left ,#fd79a8, #a29bfe );
    font: 900 20px '';
    border-radius: 50%; 
    overflow: hidden;  
    line-height: 70px;
  animation: rotate 5s ease  infinite ;
}
@keyframes rotate {
      50% {
        transform:rotateY(180deg);
      }
    100% {
        transform:rotateY(360deg);
    }
    }
@keyframes jza {
    100% {
        transform: translateZ(300px);
        transform:translateX(175px)
    }
}
@keyframes jzb {
    100% {
        transform:  translateZ(300px);
        transform:translateX(-175px)
    }
}